package com.titanrise.crm.config;

import com.titanrise.crm.common.constants.ApplicationConstant;
import com.titanrise.crm.environment.annotation.Autowired;
import com.titanrise.crm.environment.annotation.Configuration;
import lombok.Getter;

@Configuration
@Getter
public class JdbcConfig {

    private String jdbcUsername;

    private String jdbcPassword;

    private String jdbcUrl;

    public JdbcConfig() {
        ApplicationConstant applicationConstant = new ApplicationConstant();
        this.jdbcUsername = applicationConstant.getJdbcUsername();
        this.jdbcPassword = applicationConstant.getJdbcPassword();
        this.jdbcUrl = applicationConstant.getJdbcUrl();
    }

}
